package com.ruoyi.bl.service;

import java.util.List;
import com.ruoyi.bl.domain.BlOrderGoods;

/**
 * 订单商品Service接口
 * 
 * @author ruoyi
 * @date 2023-08-11
 */
public interface IBlOrderGoodsService 
{
    /**
     * 查询订单商品
     * 
     * @param orderGoodsId 订单商品主键
     * @return 订单商品
     */
    public BlOrderGoods selectBlOrderGoodsByOrderGoodsId(Long orderGoodsId);

    /**
     * 查询订单商品列表
     * 
     * @param blOrderGoods 订单商品
     * @return 订单商品集合
     */
    public List<BlOrderGoods> selectBlOrderGoodsList(BlOrderGoods blOrderGoods);

    /**
     * 新增订单商品
     * 
     * @param blOrderGoods 订单商品
     * @return 结果
     */
    public int insertBlOrderGoods(BlOrderGoods blOrderGoods);

    /**
     * 修改订单商品
     * 
     * @param blOrderGoods 订单商品
     * @return 结果
     */
    public int updateBlOrderGoods(BlOrderGoods blOrderGoods);

    /**
     * 批量删除订单商品
     * 
     * @param orderGoodsIds 需要删除的订单商品主键集合
     * @return 结果
     */
    public int deleteBlOrderGoodsByOrderGoodsIds(Long[] orderGoodsIds);

    /**
     * 删除订单商品信息
     * 
     * @param orderGoodsId 订单商品主键
     * @return 结果
     */
    public int deleteBlOrderGoodsByOrderGoodsId(Long orderGoodsId);
}
